package com.fable.dal.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class YuyueQuery {
    /**
     * order by clause.
     */
    protected String orderByClause;

    /**
     * distinct
     */
    protected boolean distinct;

    /**
     * criteria list
     */
    protected List<Criteria> oredCriteria;

    /**
     * page
     */
    protected Integer pageOffset;

    /**
     * page size
     */
    protected Integer pageSize;

    public YuyueQuery() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public boolean isValid() {
        for (int i = 0; i < oredCriteria.size(); i++) {
            if (oredCriteria.get(i).isValid()) {
                return true;
            }
        }
        return false;
    }

    public void setPageOffset(Integer pageOffset) {
        this.pageOffset = pageOffset;
    }

    public Integer getPageOffset() {
        return pageOffset;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }
        /**

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }


                public Criteria andGmtCreateIsNull() {
                    addCriterion("gmt_create is null");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateIsNotNull() {
                    addCriterion("gmt_create is not null");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateEqualTo(Date value) {
                    addCriterion("gmt_create =", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateNotEqualTo(Date value) {
                    addCriterion("gmt_create <>", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateGreaterThan(Date value) {
                    addCriterion("gmt_create >", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
                    addCriterion("gmt_create >=", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateLessThan(Date value) {
                    addCriterion("gmt_create <", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
                    addCriterion("gmt_create <=", value, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateIn(List<Date> values) {
                    addCriterion("gmt_create in", values, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateNotIn(List<Date> values) {
                    addCriterion("gmt_create not in", values, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateBetween(Date value1, Date value2) {
                    addCriterion("gmt_create between", value1, value2, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
                    addCriterion("gmt_create not between", value1, value2, "gmtCreate");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedIsNull() {
                    addCriterion("gmt_modified is null");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedIsNotNull() {
                    addCriterion("gmt_modified is not null");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedEqualTo(Date value) {
                    addCriterion("gmt_modified =", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedNotEqualTo(Date value) {
                    addCriterion("gmt_modified <>", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedGreaterThan(Date value) {
                    addCriterion("gmt_modified >", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
                    addCriterion("gmt_modified >=", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedLessThan(Date value) {
                    addCriterion("gmt_modified <", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
                    addCriterion("gmt_modified <=", value, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedIn(List<Date> values) {
                    addCriterion("gmt_modified in", values, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedNotIn(List<Date> values) {
                    addCriterion("gmt_modified not in", values, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedBetween(Date value1, Date value2) {
                    addCriterion("gmt_modified between", value1, value2, "gmtModified");
                    return (Criteria) this;
                }

                public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
                    addCriterion("gmt_modified not between", value1, value2, "gmtModified");
                    return (Criteria) this;
                }
                 **/

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(Long value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(Long value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andLogDateIsNull() {
            addCriterion("log_date is null");
            return (Criteria) this;
        }

        public Criteria andLogDateIsNotNull() {
            addCriterion("log_date is not null");
            return (Criteria) this;
        }

        public Criteria andLogDateEqualTo(Date value) {
            addCriterion("log_date =", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotEqualTo(Date value) {
            addCriterion("log_date <>", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateGreaterThan(Date value) {
            addCriterion("log_date >", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateGreaterThanOrEqualTo(Date value) {
            addCriterion("log_date >=", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateLessThan(Date value) {
            addCriterion("log_date <", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateLessThanOrEqualTo(Date value) {
            addCriterion("log_date <=", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateLike(Date value) {
            addCriterion("log_date like", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotLike(Date value) {
            addCriterion("log_date not like", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateIn(List<Date> values) {
            addCriterion("log_date in", values, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotIn(List<Date> values) {
            addCriterion("log_date not in", values, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateBetween(Date value1, Date value2) {
            addCriterion("log_date between", value1, value2, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotBetween(Date value1, Date value2) {
            addCriterion("log_date not between", value1, value2, "logDate");
            return (Criteria) this;
        }

        public Criteria andUseragentIsNull() {
            addCriterion("useragent is null");
            return (Criteria) this;
        }

        public Criteria andUseragentIsNotNull() {
            addCriterion("useragent is not null");
            return (Criteria) this;
        }

        public Criteria andUseragentEqualTo(String value) {
            addCriterion("useragent =", value, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentNotEqualTo(String value) {
            addCriterion("useragent <>", value, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentGreaterThan(String value) {
            addCriterion("useragent >", value, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentGreaterThanOrEqualTo(String value) {
            addCriterion("useragent >=", value, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentLessThan(String value) {
            addCriterion("useragent <", value, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentLessThanOrEqualTo(String value) {
            addCriterion("useragent <=", value, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentLike(String value) {
            addCriterion("useragent like", value, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentNotLike(String value) {
            addCriterion("useragent not like", value, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentIn(List<String> values) {
            addCriterion("useragent in", values, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentNotIn(List<String> values) {
            addCriterion("useragent not in", values, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentBetween(String value1, String value2) {
            addCriterion("useragent between", value1, value2, "useragent");
            return (Criteria) this;
        }

        public Criteria andUseragentNotBetween(String value1, String value2) {
            addCriterion("useragent not between", value1, value2, "useragent");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueIsNull() {
            addCriterion("shouye_yuyue is null");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueIsNotNull() {
            addCriterion("shouye_yuyue is not null");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueEqualTo(Long value) {
            addCriterion("shouye_yuyue =", value, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueNotEqualTo(Long value) {
            addCriterion("shouye_yuyue <>", value, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueGreaterThan(Long value) {
            addCriterion("shouye_yuyue >", value, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueGreaterThanOrEqualTo(Long value) {
            addCriterion("shouye_yuyue >=", value, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueLessThan(Long value) {
            addCriterion("shouye_yuyue <", value, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueLessThanOrEqualTo(Long value) {
            addCriterion("shouye_yuyue <=", value, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueLike(Long value) {
            addCriterion("shouye_yuyue like", value, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueNotLike(Long value) {
            addCriterion("shouye_yuyue not like", value, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueIn(List<Long> values) {
            addCriterion("shouye_yuyue in", values, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueNotIn(List<Long> values) {
            addCriterion("shouye_yuyue not in", values, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueBetween(Long value1, Long value2) {
            addCriterion("shouye_yuyue between", value1, value2, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueNotBetween(Long value1, Long value2) {
            addCriterion("shouye_yuyue not between", value1, value2, "shouyeYuyue");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoIsNull() {
            addCriterion("shouye_tijiao is null");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoIsNotNull() {
            addCriterion("shouye_tijiao is not null");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoEqualTo(Long value) {
            addCriterion("shouye_tijiao =", value, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoNotEqualTo(Long value) {
            addCriterion("shouye_tijiao <>", value, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoGreaterThan(Long value) {
            addCriterion("shouye_tijiao >", value, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoGreaterThanOrEqualTo(Long value) {
            addCriterion("shouye_tijiao >=", value, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoLessThan(Long value) {
            addCriterion("shouye_tijiao <", value, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoLessThanOrEqualTo(Long value) {
            addCriterion("shouye_tijiao <=", value, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoLike(Long value) {
            addCriterion("shouye_tijiao like", value, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoNotLike(Long value) {
            addCriterion("shouye_tijiao not like", value, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoIn(List<Long> values) {
            addCriterion("shouye_tijiao in", values, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoNotIn(List<Long> values) {
            addCriterion("shouye_tijiao not in", values, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoBetween(Long value1, Long value2) {
            addCriterion("shouye_tijiao between", value1, value2, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeTijiaoNotBetween(Long value1, Long value2) {
            addCriterion("shouye_tijiao not between", value1, value2, "shouyeTijiao");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateIsNull() {
            addCriterion("shouye_yuyue_rate is null");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateIsNotNull() {
            addCriterion("shouye_yuyue_rate is not null");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateEqualTo(java.lang.Double value) {
            addCriterion("shouye_yuyue_rate =", value, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateNotEqualTo(java.lang.Double value) {
            addCriterion("shouye_yuyue_rate <>", value, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateGreaterThan(java.lang.Double value) {
            addCriterion("shouye_yuyue_rate >", value, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("shouye_yuyue_rate >=", value, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateLessThan(java.lang.Double value) {
            addCriterion("shouye_yuyue_rate <", value, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("shouye_yuyue_rate <=", value, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateLike(java.lang.Double value) {
            addCriterion("shouye_yuyue_rate like", value, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateNotLike(java.lang.Double value) {
            addCriterion("shouye_yuyue_rate not like", value, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateIn(List<java.lang.Double> values) {
            addCriterion("shouye_yuyue_rate in", values, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateNotIn(List<java.lang.Double> values) {
            addCriterion("shouye_yuyue_rate not in", values, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("shouye_yuyue_rate between", value1, value2, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andShouyeYuyueRateNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("shouye_yuyue_rate not between", value1, value2, "shouyeYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueIsNull() {
            addCriterion("huodong_yuyue is null");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueIsNotNull() {
            addCriterion("huodong_yuyue is not null");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueEqualTo(Long value) {
            addCriterion("huodong_yuyue =", value, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueNotEqualTo(Long value) {
            addCriterion("huodong_yuyue <>", value, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueGreaterThan(Long value) {
            addCriterion("huodong_yuyue >", value, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueGreaterThanOrEqualTo(Long value) {
            addCriterion("huodong_yuyue >=", value, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueLessThan(Long value) {
            addCriterion("huodong_yuyue <", value, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueLessThanOrEqualTo(Long value) {
            addCriterion("huodong_yuyue <=", value, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueLike(Long value) {
            addCriterion("huodong_yuyue like", value, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueNotLike(Long value) {
            addCriterion("huodong_yuyue not like", value, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueIn(List<Long> values) {
            addCriterion("huodong_yuyue in", values, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueNotIn(List<Long> values) {
            addCriterion("huodong_yuyue not in", values, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueBetween(Long value1, Long value2) {
            addCriterion("huodong_yuyue between", value1, value2, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueNotBetween(Long value1, Long value2) {
            addCriterion("huodong_yuyue not between", value1, value2, "huodongYuyue");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoIsNull() {
            addCriterion("huodong_tijiao is null");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoIsNotNull() {
            addCriterion("huodong_tijiao is not null");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoEqualTo(Long value) {
            addCriterion("huodong_tijiao =", value, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoNotEqualTo(Long value) {
            addCriterion("huodong_tijiao <>", value, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoGreaterThan(Long value) {
            addCriterion("huodong_tijiao >", value, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoGreaterThanOrEqualTo(Long value) {
            addCriterion("huodong_tijiao >=", value, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoLessThan(Long value) {
            addCriterion("huodong_tijiao <", value, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoLessThanOrEqualTo(Long value) {
            addCriterion("huodong_tijiao <=", value, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoLike(Long value) {
            addCriterion("huodong_tijiao like", value, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoNotLike(Long value) {
            addCriterion("huodong_tijiao not like", value, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoIn(List<Long> values) {
            addCriterion("huodong_tijiao in", values, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoNotIn(List<Long> values) {
            addCriterion("huodong_tijiao not in", values, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoBetween(Long value1, Long value2) {
            addCriterion("huodong_tijiao between", value1, value2, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongTijiaoNotBetween(Long value1, Long value2) {
            addCriterion("huodong_tijiao not between", value1, value2, "huodongTijiao");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateIsNull() {
            addCriterion("huodong_yuyue_rate is null");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateIsNotNull() {
            addCriterion("huodong_yuyue_rate is not null");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateEqualTo(java.lang.Double value) {
            addCriterion("huodong_yuyue_rate =", value, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateNotEqualTo(java.lang.Double value) {
            addCriterion("huodong_yuyue_rate <>", value, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateGreaterThan(java.lang.Double value) {
            addCriterion("huodong_yuyue_rate >", value, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("huodong_yuyue_rate >=", value, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateLessThan(java.lang.Double value) {
            addCriterion("huodong_yuyue_rate <", value, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("huodong_yuyue_rate <=", value, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateLike(java.lang.Double value) {
            addCriterion("huodong_yuyue_rate like", value, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateNotLike(java.lang.Double value) {
            addCriterion("huodong_yuyue_rate not like", value, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateIn(List<java.lang.Double> values) {
            addCriterion("huodong_yuyue_rate in", values, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateNotIn(List<java.lang.Double> values) {
            addCriterion("huodong_yuyue_rate not in", values, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("huodong_yuyue_rate between", value1, value2, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andHuodongYuyueRateNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("huodong_yuyue_rate not between", value1, value2, "huodongYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueIsNull() {
            addCriterion("list_yuyue is null");
            return (Criteria) this;
        }

        public Criteria andListYuyueIsNotNull() {
            addCriterion("list_yuyue is not null");
            return (Criteria) this;
        }

        public Criteria andListYuyueEqualTo(Long value) {
            addCriterion("list_yuyue =", value, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueNotEqualTo(Long value) {
            addCriterion("list_yuyue <>", value, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueGreaterThan(Long value) {
            addCriterion("list_yuyue >", value, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueGreaterThanOrEqualTo(Long value) {
            addCriterion("list_yuyue >=", value, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueLessThan(Long value) {
            addCriterion("list_yuyue <", value, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueLessThanOrEqualTo(Long value) {
            addCriterion("list_yuyue <=", value, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueLike(Long value) {
            addCriterion("list_yuyue like", value, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueNotLike(Long value) {
            addCriterion("list_yuyue not like", value, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueIn(List<Long> values) {
            addCriterion("list_yuyue in", values, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueNotIn(List<Long> values) {
            addCriterion("list_yuyue not in", values, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueBetween(Long value1, Long value2) {
            addCriterion("list_yuyue between", value1, value2, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListYuyueNotBetween(Long value1, Long value2) {
            addCriterion("list_yuyue not between", value1, value2, "listYuyue");
            return (Criteria) this;
        }

        public Criteria andListTijiaoIsNull() {
            addCriterion("list_tijiao is null");
            return (Criteria) this;
        }

        public Criteria andListTijiaoIsNotNull() {
            addCriterion("list_tijiao is not null");
            return (Criteria) this;
        }

        public Criteria andListTijiaoEqualTo(Long value) {
            addCriterion("list_tijiao =", value, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoNotEqualTo(Long value) {
            addCriterion("list_tijiao <>", value, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoGreaterThan(Long value) {
            addCriterion("list_tijiao >", value, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoGreaterThanOrEqualTo(Long value) {
            addCriterion("list_tijiao >=", value, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoLessThan(Long value) {
            addCriterion("list_tijiao <", value, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoLessThanOrEqualTo(Long value) {
            addCriterion("list_tijiao <=", value, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoLike(Long value) {
            addCriterion("list_tijiao like", value, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoNotLike(Long value) {
            addCriterion("list_tijiao not like", value, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoIn(List<Long> values) {
            addCriterion("list_tijiao in", values, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoNotIn(List<Long> values) {
            addCriterion("list_tijiao not in", values, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoBetween(Long value1, Long value2) {
            addCriterion("list_tijiao between", value1, value2, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListTijiaoNotBetween(Long value1, Long value2) {
            addCriterion("list_tijiao not between", value1, value2, "listTijiao");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateIsNull() {
            addCriterion("list_yuyue_rate is null");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateIsNotNull() {
            addCriterion("list_yuyue_rate is not null");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateEqualTo(java.lang.Double value) {
            addCriterion("list_yuyue_rate =", value, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateNotEqualTo(java.lang.Double value) {
            addCriterion("list_yuyue_rate <>", value, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateGreaterThan(java.lang.Double value) {
            addCriterion("list_yuyue_rate >", value, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("list_yuyue_rate >=", value, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateLessThan(java.lang.Double value) {
            addCriterion("list_yuyue_rate <", value, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("list_yuyue_rate <=", value, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateLike(java.lang.Double value) {
            addCriterion("list_yuyue_rate like", value, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateNotLike(java.lang.Double value) {
            addCriterion("list_yuyue_rate not like", value, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateIn(List<java.lang.Double> values) {
            addCriterion("list_yuyue_rate in", values, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateNotIn(List<java.lang.Double> values) {
            addCriterion("list_yuyue_rate not in", values, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("list_yuyue_rate between", value1, value2, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andListYuyueRateNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("list_yuyue_rate not between", value1, value2, "listYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueIsNull() {
            addCriterion("detail_yuyue is null");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueIsNotNull() {
            addCriterion("detail_yuyue is not null");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueEqualTo(Long value) {
            addCriterion("detail_yuyue =", value, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueNotEqualTo(Long value) {
            addCriterion("detail_yuyue <>", value, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueGreaterThan(Long value) {
            addCriterion("detail_yuyue >", value, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueGreaterThanOrEqualTo(Long value) {
            addCriterion("detail_yuyue >=", value, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueLessThan(Long value) {
            addCriterion("detail_yuyue <", value, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueLessThanOrEqualTo(Long value) {
            addCriterion("detail_yuyue <=", value, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueLike(Long value) {
            addCriterion("detail_yuyue like", value, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueNotLike(Long value) {
            addCriterion("detail_yuyue not like", value, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueIn(List<Long> values) {
            addCriterion("detail_yuyue in", values, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueNotIn(List<Long> values) {
            addCriterion("detail_yuyue not in", values, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueBetween(Long value1, Long value2) {
            addCriterion("detail_yuyue between", value1, value2, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueNotBetween(Long value1, Long value2) {
            addCriterion("detail_yuyue not between", value1, value2, "detailYuyue");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoIsNull() {
            addCriterion("detail_tiiao is null");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoIsNotNull() {
            addCriterion("detail_tiiao is not null");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoEqualTo(Long value) {
            addCriterion("detail_tiiao =", value, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoNotEqualTo(Long value) {
            addCriterion("detail_tiiao <>", value, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoGreaterThan(Long value) {
            addCriterion("detail_tiiao >", value, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoGreaterThanOrEqualTo(Long value) {
            addCriterion("detail_tiiao >=", value, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoLessThan(Long value) {
            addCriterion("detail_tiiao <", value, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoLessThanOrEqualTo(Long value) {
            addCriterion("detail_tiiao <=", value, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoLike(Long value) {
            addCriterion("detail_tiiao like", value, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoNotLike(Long value) {
            addCriterion("detail_tiiao not like", value, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoIn(List<Long> values) {
            addCriterion("detail_tiiao in", values, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoNotIn(List<Long> values) {
            addCriterion("detail_tiiao not in", values, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoBetween(Long value1, Long value2) {
            addCriterion("detail_tiiao between", value1, value2, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailTiiaoNotBetween(Long value1, Long value2) {
            addCriterion("detail_tiiao not between", value1, value2, "detailTiiao");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateIsNull() {
            addCriterion("detail_yuyue_rate is null");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateIsNotNull() {
            addCriterion("detail_yuyue_rate is not null");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateEqualTo(java.lang.Double value) {
            addCriterion("detail_yuyue_rate =", value, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateNotEqualTo(java.lang.Double value) {
            addCriterion("detail_yuyue_rate <>", value, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateGreaterThan(java.lang.Double value) {
            addCriterion("detail_yuyue_rate >", value, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateGreaterThanOrEqualTo(java.lang.Double value) {
            addCriterion("detail_yuyue_rate >=", value, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateLessThan(java.lang.Double value) {
            addCriterion("detail_yuyue_rate <", value, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateLessThanOrEqualTo(java.lang.Double value) {
            addCriterion("detail_yuyue_rate <=", value, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateLike(java.lang.Double value) {
            addCriterion("detail_yuyue_rate like", value, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateNotLike(java.lang.Double value) {
            addCriterion("detail_yuyue_rate not like", value, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateIn(List<java.lang.Double> values) {
            addCriterion("detail_yuyue_rate in", values, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateNotIn(List<java.lang.Double> values) {
            addCriterion("detail_yuyue_rate not in", values, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("detail_yuyue_rate between", value1, value2, "detailYuyueRate");
            return (Criteria) this;
        }

        public Criteria andDetailYuyueRateNotBetween(java.lang.Double value1, java.lang.Double value2) {
            addCriterion("detail_yuyue_rate not between", value1, value2, "detailYuyueRate");
            return (Criteria) this;
        }

    }

    /**
     * This class corresponds to the database table bi_yuyue
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * This class corresponds to the database table bi_yuyue
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}